<?php
namespace Home\Controller;
use Think\Controller;
class CommonController extends Controller{
    public function index(){
        $menu = M('menu');
        $menu = $menu->select();
        $this->assign('menu',$menu);
        $this->display();
    }
}